package mx.com.switz.autopista.dao.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import mx.com.switz.autopista.dto.Vehiculo;

import org.springframework.jdbc.core.RowMapper;

public class ImagenesMapper implements RowMapper<Vehiculo> {

	public Vehiculo mapRow(ResultSet rs, int rowNum) throws SQLException {
		Vehiculo vehiculo = new Vehiculo();	
		vehiculo.setFoto(rs.getString("url_foto"));
		return vehiculo;
	}

}
